home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
tlc_prgs
/
tlc_euro
/
tlc_view.doc
< prev
Wrap
Text File
|
1995-05-02
|
9KB
|
157 lines
***************
* TLC≈View *
* Version 1.0 *
***************
Version 1.0, 26 May 1993
Boredom does strange things. For those of you that don't know, both my
wife and myself (and in a couple of months my son), are in the Air Force.
They sent my wife to Provide Comfort 5 weeks ago and she won't return for
another couple of months. Guess it's time to try and knock out some code
huh? It beats playing Mr Mom!
This file can be either an accessory or program depending on what you
name the file extension. It's a companion program to the address book
program in that it allows you to load address data files (up to 200 names)
so you may view them from within another GEM program. It's handy to have
your addresses available while you're working in a word processor.
Operation couldn't be simpler, make the file extension either ACC or
PRG depending on how you want to run it and either reboot with the accessory
in the proper location (see your manuals if you don't know where this is) or
double click on the icon or name to start the program. It's not fancy and
it's also not bug free, let me explain...
Either version simply opens a GEM window and if your default address
file (TLC_BOOK.DAT) is in the same directory, it will load it. It will only
load the first 200 addresses but it won't abort, if your file is longer than
that, it will load only 200. The GEM window is complete, that is, all the
parts are there. It works just like a regular window. Pressing the HELP
key shows an alert to remind you which other keys are available for use and
there's not very many, just 'L' or 'l' to load a different address file, or
the UNDO or ESC keys to close the window (both keys will ask you first). If
you don't want to be asked, just click on the close window gadget. The
program does check that you're loading a valid address data file and will
reject any other type of file. That's it.
Now, on to the bugs I mentioned before. There are no problems when run
as a program but (there's always a but huh?), when run as an accessory be
sure to follow these guidelines. Do NOT have the accessory window open when
starting another program (i.e. your word processor, etc.). Remember that
this is an accessory, it will remain onscreen even while working with
multiple windows in another program and all redraws are properly handled.
Close the accessory window before you attempt to close windows from within
another program (not needed on the desktop). Also, close the accessory
window before you quit from within another program. Even though it will
allow you access to the other accessories, do NOT attempt to open another
accessory. If you follow these guidelines, you'll be safe. The technically
curios can read the next paragraph to find out why these conditions are
true, the rest of you are done. I am still working on the program and
hopefully these glitches will all be worked out. I wouldn't normally
release a program until it was finished (I do NOT consider this version
'finished' but several users are screaming for this...)
*** For the technically curious ***
GEM windows are difficult to program. Accessories in windows are even
more difficult. It's even harder to do these with GFA Basic and get it
right. Add all these up and this explains why the difficulty. If any of
you have any insight into these, please let me know. I'll gladly accept any
input you can provide. Okay, enough rambling...It would have been easy to
do this as a program only then none of these problems would've existed but,
a program only wouldn't be very useful. An accessory in a window has to
deal with several things, most notably monitoring MENU(1) (the GEM message
pipeline) for pertinent messages. Redraws of all open windows must be done
and when you attempt to intercept the keyboard keys only when your accessory
window is active, it really mucks things up. This works that way. When the
window is not the active window, all the keys work as usual within another
program. When you make this the active window, it intercepts all keypresses
and does all GEMs work redrawing the other open windows when needed. What
it won't do is pass a MENU(1) message of 41 (accessory closed) until forced
by another source. It actually takes over GEM when the windows open and
updates everything until you close the window. That's why it will bomb (2
of 'em) if you close a window inside another program first. Oh well,
hopefully I'll have this all worked out soon. By the way, anyone who thinks
they have a quick answer, please realize that I CAN make the accessory work
correctly if I forego the key scanning, it's keeping that in there that's
giving me trouble.
I will hammer this out, as well as add many more features in future
versions. Like what? Well, the list is too long and I don't want to build
any false hopes, not yet.
**** TLC Software *********************************************************
S P E C I A L
***************************************************************************
As a Christmas special, the entire collection of TLC programs can be yours
(registered versions of course), for the miniscule fee of $10! What a
bargain, a disk full of programs and documentation. If you're interested in
the GFA source code to all the TLC programs, that can be yours for a $20
contribution. This will come on 2 DS/DD disks unless you request a single
DS/HD disk. As a minimum, the TLC Utilities disk includes:
o - TLC Book - A combination address book and date keeper. Version 4.x now
prints phone books as well as address books, mailing labels, date books, and
date labels. It allows as many entries as your systems memory will hold and
has full hot key access. Also new is the ability to merge multiple address
books and you can even print addresses, dates, or labels to disk! Supports
any printer and works in ST & TT resolutions except low.
o - TLC View - An accessory or program that loads your TLC Book address
databases into a GEM window without leaving the GEM program you're using.
o - TLC Attributor - Allows renaming volume labels, files, changing files
attributes (read only, hidden, system, etc). Runs as a program or accessory
in all but low resolution. Allows setting the fast load bit as well as
updating the date/time stamp on files. It also allows deletion of those
pesky files TOS won't delete at times.
o - TLC Formatter - Accessory/program to format 3.5" disks in 80-82 tracks,
9 or 10 sectors per track. FaST option reads and writes faster than
'twisted' or 'skewed' formats and is 100% compatible with all ST programs.
All formats are MS DOS 5.x and DR DOS 6.x compatible, in fact, FaST
formatted disks read and write twice as fast on the messy dos systems!
Formats backwards and allows aborting to cover mistakes. Supports multiple
automatic drive switching and detects presence of a HD 3.5" disk (yes, it
does FaST tricks to them also!)
o - TLC Fixer - Allows changing ASCII or HEX strings in programs or data
files. Runs as an accessory or program in all resolutions except low. Will
do multiple searches, ask before changing, keep backups etc. Uses hot keys
or GEM.
o - TLC Icon Maker - Creates icons in .RSC files from DEGAS medium or high
resolution (.PI2, .PI3) pictures, for use with DRIs RCS2 or Kumas K-
Resource.
o - The TLC Sound Machine - Allows playing and manipulating digitized sounds
created with DigiSound, SoundOff, MasterSound, ST Replay and more. You can
modify the sounds and save them to disk in several formats.
o - TLC Show - A quick and dirty Spectrum picture viewer for those times you
don't want to load a slide show program and set a series of buttons to
display a picture or two.
o - TLC RSRC - Creates GFA Basic 3.x compatible ASCII LST files from
resources created with DRIs RCS2 or Kumas K-Resource so you can merge it
into your program and include your resource file in your program. Prints
full instructions in the LST file. Now this includes a sample program and
source code showing proper implementation.
o - TLC Mega - A short accessory or program that allows you to change the
CPU speed of the Mega STe. Also displays TOS and GEMDOS version numbers.
Includes small auto folder programs for speed switches while booting up.
All these programs for one low $10 price. Please make checks payable to:
Tom Hayslett
210 Fairmont Drive
Hampton, VA 23666
804-766-3691